home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Paparazzi!: Tales of Tinseltown
/
Paparazzi - Tales of Tinseltown (1995)(Activision)(Disc 1 of 2).iso
/
pprazia1.dir
/
01128_Script_AskForCD ResumeBtn
< prev
next >
Wrap
Text File
|
1995-05-21
|
1KB
|
39 lines
on mouseDown
put "ResumeBTN" into f
put "ResumeBTNHL" into fHL
hiliter 3, f, fHL
puppetsound "hey.aif"
updatestage
end
on mouseUp
global gDayOfTheWeek, gTheDay,ThePapMovie1, ThePapMovie2
set the castNum of sprite 3 = cast "ResumeBTN"
updatestage
put getNthFileNameInFolder("PPrazzi1:Assets", 1) into CD1
put getNthFileNameInFolder("PPrazzi2:Assets", 2) into CD2
if gDayOfTheWeek <= 8 and not (CD1 = "") then -- the first CD is in
go frame gTheDay & "trans" of movie the pathName & "PPraziA1"
else
go frame "CD1TryAgain"
end if
if gDayOfTheWeek >= 9 and not (CD2 = "") then -- the second CD is in
go frame gTheDay & "trans" of movie the pathName & "PPraziA2"
else
go frame "CD2TryAgain"
end if
if CD1 = "" and CD2 = "" then -- no CD is in
if gDayOfTheWeek <= 8 then
go frame "NoCD1"-- see which disk they need and ask for it
else
go frame "NoCD2"-- see which disk they need and ask for it
end if
end if
end